package com.asa;

public class SClient {
	
	public static void main(String[] args) {
		double a[] = {1,11,2,9,3,7,5};
		
		for(int i =0 ; i< a.length; ++i) {  
	        for(int j = 0; j < a.length-i-1; ++j) {  
	            if(a[j] > a[j+1])  
	            {  
	                double tmp = a[j] ; a[j] = a[j+1] ;  a[j+1] = tmp;  
	            }  
	        }  
	    }  
	
	}
	
	
	
	
	
}
